﻿@model SnsAccountModel

@{
	ViewBag.Title = "社交账号";
	Layout = "~/Views/Shared/_Layout.cshtml";

	ViewBag.CurrentNavItem = "SnsAccount";
}

<div class="index-title">
	<h3>与邮箱关联的登录密码，并非社交账号密码</h3>
</div>

<div class="formbox sns-account">
	<ul class="bind-list">
		<li>
			<div class="bind-icon">
				<img src="http://static.wanpijie.com/images/icon-weibo.png" />
			</div>

			<div class="bind-status">
				<p>
					新浪微博
				</p>
				@if (Model.Weibo != null)
	{
					<span>已绑定</span> <span>@Html.ActionLink("解除绑定", "Unbind", "SnsAccount", new { sns = "weibo" }, null)</span>
	}
	else
	{
					<span>@Html.ActionLink("立即绑定", "BindRequest", "SnsAccount", new { sns = "weibo" }, null)</span>
	}
			</div>
		</li>
		<li>
			<div class="bind-icon">
				<img src="http://static.wanpijie.com/images/icon-qzone.png" />
			</div>

			<div class="bind-status">
				<p>
					QQ账号
				</p>
				@if (Model.Qzone != null)
	{
					<span>已绑定</span> <span>@Html.ActionLink("解除绑定", "Unbind", "SnsAccount", new { sns = "qzone" }, null)</span>
	}
	else
	{
					<span>@Html.ActionLink("立即绑定", "BindRequest", "SnsAccount", new { sns = "qzone" }, null)</span>
	}
			</div>
		</li>
		<li>
			<div class="bind-icon">
				<img src="http://static.wanpijie.com/images/icon-taobao.png" />
			</div>

			<div class="bind-status">
				<p>
					淘宝账号
				</p>
				@if (Model.Taobao != null)
	{
					<span>已绑定</span> <span>@Html.ActionLink("解除绑定", "Unbind", "SnsAccount", new { sns = "taobao" }, null)</span>
	}
	else
	{
					<span>@Html.ActionLink("立即绑定", "BindRequest", "SnsAccount", new { sns = "taobao" }, null)</span>
	}
			</div>
		</li>
	</ul>

</div>
